<?php

require_once dirname(__FILE__) . '/config.php';
require_once 'SessionDelegate.php';
require_once MOBILEPROXY_JSPHON_DIR . '/Jsphon.php';

$session =& SessionDelegate::getInstance();
if (isset($_POST['headers'])) {
    $headers = Jsphon::decode($_POST['headers']);
    if (is_array($headers)) {
        $session->set('request_headers', $headers);
    }
}
exit;
